<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
 <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<html>
<head>
<title>相册主页</title>
	 <script type="text/javascript" src="${staticWebsite}js/jquery-1.7.2.js"></script>
	<script type="text/javascript" src="${staticWebsite}js/thickbox.js"></script>
     <link rel="stylesheet" href="${staticWebsite}css/common/thickbox.css" type="text/css" />
     <link rel="stylesheet" href="${staticWebsite}css/common/albumList.css" type="text/css" />
</head>
<body>
 <div><a id="popLayer" onfocus="this.blur();" href="${website}upload/upload_upload_goImageUpload.action?keepThis=true&type=test&number=1&pos=imgUpload&TB_iframe=true&height=500&width=700&modal=true" class="thickbox"><img src="${staticWebsite}image/album/upload.jpg"/></a></div>
   <c:forEach items="${albumList}" var="i" varStatus="s">
     <div style="float:left;">
       <c:choose>
          <c:when test="${i.indexImgId==0}">
             <div><a href="${website}album/album_toAlbumItems.action?albumId=${i.id}"><img title="用户图片" width="92px" height="120px"  src="" /></a></div>
          </c:when>
          <c:otherwise>
             <div>
                <c:forEach items="${albumIndexImg}" var="j" varStatus="m">
                     <c:choose>
                       <c:when test="${m.count==s.count}"><a href="${website}album/album_toAlbumItems.action?albumId=${i.id}"><img  title="用户图片"  src="${staticWebsite}/${j}"/></a></c:when>
                     </c:choose>
                </c:forEach>
               
             </div>
          </c:otherwise>
       </c:choose>
        <div align="center">${i.albumName}</div>
       </div>
   </c:forEach>
</body>
</html>
